NAVIÉ

FXScalarChannel

FXScalarChannel

double GetRangeMinimum (void)


Returns
the minimum floating point value this vector channel can hold.

double GetRangeMaximum (void)


Returns
the maximum floating point value this vector channel can hold.

double GetResetValue (void)


Returns
the floating point value this channel is reset with (whenever it is reset)

void GetBounds (vector3d& ref_minimum, vector3d& ref_maximum)


Parameters
vector3d& ref_minimum:
Filled with the minimum position of the channel's bounds

vector3d& ref_maximum:
Filled with the maximum position of the channel's bounds



bool Inside (const vector3d& physical_position)


Returns
true if the given physical position is inside the channel bounds

Parameters
const vector3d& physical_position:
The physical position to check the inside state for.

bool InsideGrid (const vector3d& physical_position, const bool excludeborders = false)


Same as Inside but here the position is internally first converted into grid cell space.

Returns
true if the given physical position is inside the channel bounds.

Parameters
const vector3d& physical_position:
The physical position to check the inside state for.

double GetValue (const vector3d& physical_position)


Returns
the floating point value at the specifid physical position

Parameters
const vector3d& physical_position:
The physical position to get the grid channel value for.

bool Resize (vector3d& ref_minimum, vector3d& ref_maximum)


Returns
true if channel was successfully resized

Parameters
vector3d& ref_minimum:
This is the minimum position of the resized channel bounds

vector3d& ref_maximum:
This is the maximum position of the resized channel bounds



void UpdateBounds (void)


Call UpdateBounds if you modified the data of the channel.